home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 12 C64 Telecom / RS232.DOC < prev    next >
Unknown  |  2019-04-13  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert WANG Integrated Word Processor (document/wangIWP) ext Unsupported
1% dexvert Dynamic Publisher Document (document/dynamicPublisherDocument) ext Unsupported
1% dexvert Excellence! Document (document/excellenceDocument) ext Unsupported
1% dexvert Norton Textra Writer (document/textraWriter) ext Unsupported
1% dexvert IBM DisplayWrite Document (document/ibmDisplayWriteDocument) ext Unsupported
100% file data default
100% detectItEasy Format: plain text[CR] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 34 2d 4d 61 72 2d 38 34 | 20 32 33 3a 35 32 20 46 |4-Mar-84| 23:52 F|
|00000010| 72 20 5b 37 35 37 36 35 | 2c 31 36 37 30 5d 0d 20 |r [75765|,1670]. |
|00000020| 20 20 20 20 4d 61 63 68 | 69 6e 65 2d 63 6f 64 65 | Mach|ine-code|
|00000030| 20 77 69 73 65 20 74 68 | 65 72 65 20 61 72 65 20 | wise th|ere are |
|00000040| 74 77 6f 20 72 6f 75 74 | 69 6e 65 73 20 68 65 72 |two rout|ines her|
|00000050| 65 2e 20 20 54 68 65 20 | 66 69 72 73 74 20 6f 6e |e. The |first on|
|00000060| 65 20 0d 63 68 61 6e 67 | 65 73 20 74 68 65 20 76 |e .chang|es the v|
|00000070| 65 63 74 6f 72 20 28 6e | 75 6d 62 65 72 73 20 69 |ector (n|umbers i|
|00000080| 6e 20 70 61 72 65 6e 74 | 68 65 73 69 73 20 61 72 |n parent|hesis ar|
|00000090| 65 20 64 65 63 69 6d 61 | 6c 20 61 64 64 72 65 73 |e decima|l addres|
|000000a0| 73 20 0d 63 6f 6e 76 65 | 72 73 69 6f 6e 73 29 3a |s .conve|rsions):|
|000000b0| 0d 0d 30 33 33 43 20 28 | 38 32 38 29 20 20 37 38 |..033C (|828) 78|
|000000c0| 20 20 20 20 20 20 20 20 | 53 45 49 0d 30 33 33 44 | |SEI.033D|
|000000d0| 20 28 38 32 39 29 20 20 | 41 39 20 30 33 20 20 20 | (829) |A9 03 |
|000000e0| 20 20 4c 44 41 20 23 24 | 30 33 0d 30 33 33 46 20 | LDA #$|03.033F |
|000000f0| 28 38 33 31 29 20 20 38 | 44 20 31 35 20 30 33 20 |(831) 8|D 15 03 |
|00000100| 20 53 54 41 20 24 30 33 | 31 35 0d 30 33 34 32 20 | STA $03|15.0342 |
|00000110| 28 38 33 34 29 20 20 41 | 39 20 34 39 20 20 20 20 |(834) A|9 49 |
|00000120| 20 4c 44 41 20 23 24 34 | 39 0d 30 33 34 34 20 28 | LDA #$4|9.0344 (|
|00000130| 38 33 36 29 20 20 38 44 | 20 31 34 20 30 33 20 20 |836) 8D| 14 03 |
|00000140| 53 54 41 20 24 30 33 31 | 34 0d 30 33 34 37 20 28 |STA $031|4.0347 (|
|00000150| 38 33 39 29 20 20 35 38 | 20 20 20 20 20 20 20 20 |839) 58| |
|00000160| 43 4c 49 0d 30 33 34 38 | 20 28 38 34 30 29 20 20 |CLI.0348| (840) |
|00000170| 36 30 20 20 20 20 20 20 | 20 20 52 54 53 0d 0d 20 |60 | RTS.. |
|00000180| 20 20 57 68 65 6e 20 74 | 68 65 20 70 72 6f 67 72 | When t|he progr|
|00000190| 61 6d 20 69 73 20 72 75 | 6e 2c 20 74 68 69 73 20 |am is ru|n, this |
|000001a0| 69 73 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 74 |is the p|rogram t|
|000001b0| 68 61 74 20 69 73 20 63 | 61 6c 6c 65 64 20 62 79 |hat is c|alled by|
|000001c0| 20 0d 53 59 53 38 32 38 | 2e 20 20 54 68 69 73 2c | .SYS828|. This,|
|000001d0| 20 74 68 65 6e 2c 20 72 | 65 64 69 72 65 63 74 73 | then, r|edirects|
|000001e0| 20 74 68 65 20 69 6e 74 | 65 72 72 75 70 74 73 20 | the int|errupts |
|000001f0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 6e 65 78 74 |through |the next|
|00000200| 20 70 61 72 74 20 61 6e | 64 20 0d 72 65 74 75 72 | part an|d .retur|
|00000210| 6e 73 20 63 6f 6e 74 72 | 6f 6c 20 74 6f 20 74 68 |ns contr|ol to th|
|00000220| 65 20 42 41 53 49 43 20 | 70 72 6f 67 72 61 6d 2e |e BASIC |program.|
|00000230| 20 20 54 68 65 20 70 72 | 6f 67 72 61 6d 20 74 68 | The pr|ogram th|
|00000240| 65 6e 20 77 69 70 65 73 | 20 69 74 73 65 6c 66 20 |en wipes| itself |
|00000250| 6f 75 74 0d 77 69 74 68 | 20 61 20 4e 45 57 20 73 |out.with| a NEW s|
|00000260| 74 61 74 65 6d 65 6e 74 | 20 28 62 75 74 20 74 68 |tatement| (but th|
|00000270| 65 20 6d 61 63 68 69 6e | 65 20 63 6f 64 65 20 69 |e machin|e code i|
|00000280| 74 20 63 72 65 61 74 65 | 64 20 69 73 20 61 6c 69 |t create|d is ali|
|00000290| 76 65 20 61 6e 64 20 77 | 65 6c 6c 20 0d 69 6e 20 |ve and w|ell .in |
|000002a0| 74 68 65 20 63 61 73 65 | 74 74 65 20 62 75 66 66 |the case|tte buff|
|000002b0| 65 72 29 2e 20 20 54 68 | 65 20 72 65 61 6c 20 73 |er). Th|e real s|
|000002c0| 74 61 72 20 6f 66 20 74 | 68 65 20 73 68 6f 77 20 |tar of t|he show |
|000002d0| 69 73 20 74 68 65 20 6e | 65 78 74 20 70 61 72 74 |is the n|ext part|
|000002e0| 3a 0d 0d 30 33 34 39 20 | 28 38 34 31 29 20 20 41 |:..0349 |(841) A|
|000002f0| 44 20 39 43 20 30 32 20 | 20 4c 44 41 20 24 30 32 |D 9C 02 | LDA $02|
|00000300| 39 43 0d 30 33 34 43 20 | 28 38 34 34 29 20 20 41 |9C.034C |(844) A|
|00000310| 38 20 20 20 20 20 20 20 | 20 54 41 59 0d 30 33 34 |8 | TAY.034|
|00000320| 44 20 28 38 34 35 29 20 | 20 34 44 20 39 42 20 30 |D (845) | 4D 9B 0|
|00000330| 32 20 20 45 4f 52 20 24 | 30 32 39 42 0d 30 33 35 |2 EOR $|029B.035|
|00000340| 30 20 28 38 34 38 29 20 | 20 46 30 20 30 45 20 20 |0 (848) | F0 0E |
|00000350| 20 20 20 42 45 51 20 24 | 30 33 36 30 0d 30 33 35 | BEQ $|0360.035|
|00000360| 32 20 28 38 35 30 29 20 | 20 41 35 20 43 36 20 20 |2 (850) | A5 C6 |
|00000370| 20 20 20 4c 44 41 20 24 | 30 30 43 36 0d 30 33 35 | LDA $|00C6.035|
|00000380| 34 20 28 38 35 32 29 20 | 20 44 30 20 30 41 20 20 |4 (852) | D0 0A |
|00000390| 20 20 20 42 4e 45 20 24 | 30 33 36 30 0d 30 33 35 | BNE $|0360.035|
|000003a0| 36 20 28 38 35 34 29 20 | 20 42 31 20 46 37 20 20 |6 (854) | B1 F7 |
|000003b0| 20 20 20 4c 44 41 20 28 | 24 46 37 29 2c 59 0d 30 | LDA (|$F7),Y.0|
|000003c0| 33 35 38 20 28 38 35 36 | 29 20 20 38 44 20 37 37 |358 (856|) 8D 77|
|000003d0| 20 30 32 20 20 53 54 41 | 20 24 30 32 37 37 0d 30 | 02 STA| $0277.0|
|000003e0| 33 35 42 20 28 38 35 39 | 29 20 20 45 36 20 43 36 |35B (859|) E6 C6|
|000003f0| 20 20 20 20 20 49 4e 43 | 20 24 43 36 0d 30 33 35 | INC| $C6.035|
|00000400| 44 20 28 38 36 31 29 20 | 20 45 45 20 39 43 20 30 |D (861) | EE 9C 0|
|00000410| 32 20 20 49 4e 43 20 24 | 30 32 39 43 0d 30 33 36 |2 INC $|029C.036|
|00000420| 30 20 28 38 36 34 29 20 | 20 34 43 20 42 46 20 45 |0 (864) | 4C BF E|
|00000430| 41 20 20 4a 4d 50 20 24 | 45 41 42 46 20 28 56 49 |A JMP $|EABF (VI|
|00000440| 43 20 76 65 72 73 69 6f | 6e 29 0d 30 33 36 30 20 |C versio|n).0360 |
|00000450| 28 38 36 34 29 20 20 34 | 43 20 33 31 20 45 41 20 |(864) 4|C 31 EA |
|00000460| 20 4a 4d 50 20 24 45 41 | 33 31 20 28 36 34 20 76 | JMP $EA|31 (64 v|
|00000470| 65 72 73 69 6f 6e 29 0d | 0d 4c 69 6e 65 20 09 00 |ersion).|.Line ..|
|00000480| 20 6c 69 6e 65 2c 20 68 | 65 72 65 20 69 73 20 77 | line, h|ere is w|
|00000490| 68 61 74 27 73 20 68 61 | 70 70 65 6e 69 6e 67 3a |hat's ha|ppening:|
|000004a0| 0d 0d 30 33 34 39 20 20 | 4c 6f 61 64 20 74 68 65 |..0349 |Load the|
|000004b0| 20 52 53 2d 32 33 32 20 | 69 6e 70 75 74 20 70 6f | RS-232 |input po|
|000004c0| 69 6e 74 65 72 0d 30 33 | 34 43 20 20 61 6e 64 20 |inter.03|4C and |
|000004d0| 73 61 76 65 20 69 74 20 | 69 6e 20 74 68 65 20 59 |save it |in the Y|
|000004e0| 20 72 65 67 69 73 74 65 | 72 2e 0d 30 33 34 44 20 | registe|r..034D |
|000004f0| 20 43 6f 6d 70 61 72 65 | 20 69 74 20 74 6f 20 74 | Compare| it to t|
|00000500| 68 65 20 52 53 2d 32 33 | 32 20 72 65 63 65 69 76 |he RS-23|2 receiv|
|00000510| 65 20 70 6f 69 6e 74 65 | 72 0d 30 33 35 30 20 20 |e pointe|r.0350 |
|00000520| 61 6e 64 20 69 66 20 69 | 74 27 73 20 74 68 65 20 |and if i|t's the |
|00000530| 73 61 6d 65 20 28 65 6d | 70 74 79 20 52 53 2d 32 |same (em|pty RS-2|
|00000540| 33 32 20 62 75 66 66 65 | 72 29 20 74 68 65 6e 20 |32 buffe|r) then |
|00000550| 65 78 69 74 2e 0d 30 33 | 35 32 20 20 4f 74 68 65 |exit..03|52 Othe|
|00000560| 72 77 69 73 65 2c 20 6c | 6f 61 64 20 6e 75 6d 62 |rwise, l|oad numb|
|00000570| 65 72 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |er of ch|aracters|
|00000580| 20 69 6e 20 6b 65 79 62 | 6f 61 72 64 20 62 75 66 | in keyb|oard buf|
|00000590| 66 65 72 0d 30 33 35 34 | 20 20 61 6e 64 20 65 78 |fer.0354| and ex|
|000005a0| 69 74 20 69 66 20 4e 4f | 54 20 30 20 28 62 75 66 |it if NO|T 0 (buf|
|000005b0| 66 65 72 20 4e 4f 54 20 | 65 6d 70 74 79 29 2e 0d |fer NOT |empty)..|
|000005c0| 30 33 35 36 20 20 55 73 | 65 20 74 68 65 20 52 53 |0356 Us|e the RS|
|000005d0| 2d 32 33 32 20 72 65 63 | 65 69 76 65 20 70 6f 69 |-232 rec|eive poi|
|000005e0| 6e 74 65 72 20 61 6e 64 | 20 74 68 65 20 59 20 72 |nter and| the Y r|
|000005f0| 65 67 69 73 74 65 72 20 | 74 6f 20 66 69 6e 64 20 |egister |to find |
|00000600| 74 68 65 0d 20 20 20 20 | 20 20 6e 65 78 74 20 63 |the. | next c|
|00000610| 68 61 72 61 63 74 65 72 | 20 66 72 6f 6d 20 74 68 |haracter| from th|
|00000620| 65 20 52 53 2d 32 33 32 | 0d 30 33 35 38 20 20 61 |e RS-232|.0358 a|
|00000630| 6e 64 20 73 74 6f 72 65 | 20 69 74 20 69 6e 20 74 |nd store| it in t|
|00000640| 68 65 20 6b 65 79 62 6f | 61 72 64 20 62 75 66 66 |he keybo|ard buff|
|00000650| 65 72 2e 0d 30 33 35 42 | 20 20 54 65 6c 6c 20 74 |er..035B| Tell t|
|00000660| 68 65 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |he opera|ting sys|
|00000670| 74 65 6d 20 74 68 65 72 | 65 20 69 73 20 61 09 00 |tem ther|e is a..|
|00000680| 68 61 72 61 63 74 65 72 | 20 69 6e 20 74 68 65 20 |haracter| in the |
|00000690| 6b 65 79 62 6f 61 72 64 | 0d 20 20 20 20 20 20 62 |keyboard|. b|
|000006a0| 75 66 66 65 72 2e 0d 30 | 33 35 44 20 20 50 6f 69 |uffer..0|35D Poi|
|000006b0| 6e 74 20 74 68 65 20 52 | 53 2d 32 33 32 20 62 75 |nt the R|S-232 bu|
|000006c0| 66 66 65 72 20 74 6f 20 | 74 68 65 20 6e 65 78 74 |ffer to |the next|
|000006d0| 20 63 68 61 72 61 63 74 | 65 72 20 70 6f 73 69 73 | charact|er posis|
|000006e0| 74 69 6f 6e 2e 0d 30 33 | 36 30 20 20 4a 75 6d 70 |tion..03|60 Jump|
|000006f0| 20 74 6f 20 74 68 65 20 | 6e 6f 72 6d 61 6c 20 69 | to the |normal i|
|00000700| 6e 74 65 72 72 75 70 74 | 20 72 6f 75 74 69 6e 65 |nterrupt| routine|
|00000710| 20 65 6e 74 72 79 20 70 | 6f 69 6e 74 2e 0d 0d | entry p|oint... |
+--------+-------------------------+-------------------------+--------+--------+